package com.guigu.alibaba.service;


import com.guigu.alibaba.dao.StorageDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class StorageService {
    @Resource
    private StorageDao storageDao;

    public void decrease(Long productId, Integer count) {
        storageDao.decrease(productId, count);
    }
}
